import javax.swing.*;
import java.awt.*;
import java.text.*;
import java.awt.event.*;
import java.io.*;

// class to display Frame showing digram distributions
// called by "Diagram Distribution" button on monoCard

class VigCompareFrame extends JFrame {
	
	private JTextArea textArea;

	public VigCompareFrame(String s){
	   super("Compare Subalphabets");
	   
	   Container container = getContentPane();
	   container.setLayout(new FlowLayout());
   
	   textArea = new JTextArea(s, 32, 15);
       textArea.setFont(new Font("monospaced",Font.PLAIN,12));
 	   container.add(textArea);
	   setSize(250,560);
	   setResizable(false);
	   setVisible(true);
	}
}
